<?php
/* Biogon
*  Author: ericfish
*  File: /gc-themes/default/index.php
*  Usage: Default Index Template
*  Format: 1 tab indent(4 spaces), LF, GB2312, no-BOM
*
*  Subversion Keywords:
*
*  $Id$
*  $LastChangedDate$
*  $LastChangedRevision$
*  $LastChangedBy$
*  $URL$
*/
?>
<?php
if(user_is_auth())
{
    $xajax = new xajax();
    //$xajax->debugOn(); // Uncomment this line to turn debugging on
    $xajax->registerFunction("saveSpamComment");
    $xajax->processRequests();
}
//$error_msg = the_comment();
global $error_message;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php get_blog_charset();?>" />
  <link rel="stylesheet" href="./<?php echo(TPPATH);?>/white.css" type="text/css" />
  <link rel="stylesheet" href="./<?php echo(TPBASEPATH);?>/thickbox.css" type="text/css" media="screen"/>
  <link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="<?php get_blog_rsslink();?>"></link>
  <title><?php the_title(); ?></title>
  
<!-- JavaScript -->
<script src="./<?php echo(TPBASEPATH);?>/jquery-compressed.js" type="text/javascript"></script>
<script src="./<?php echo(TPBASEPATH);?>/thickbox.js" type="text/javascript"></script>
<?php 
global $xajax;
if(isset($xajax)) $xajax->printJavascript(WPINC.'/');
?>
<script src="./<?php echo(TPBASEPATH);?>/ajax.js" type="text/javascript"></script>
</head>

<body>
<div align="center">

	<div class="commentbox">
<div class="pbarchivetitle" align="center"><span id="lblPostDate"><?php comment_post_date();?></span> <span class="titlemainbar">|</span> <span id="lblPostTitle"><?php comment_post_title();?></span> - 
    <span id="lblPostCommentsNumber"><?php comment_post_number();?></span></div>
	<br/>
<div class="imagedescription2">
<span id="lblPostContent"><?php comment_post_content();?></span>
<!--
<table cellspacing="0" cellpadding="0" border="0">
  <tbody>
  <tr>
    <td align="right" width="150">
	    ����ʱ��<br />
	    ����ͺ�<br />
	    ��ͷ�ͺ�<br />
	    ����<br />
	    ��Ȧ<br />
	    �ع�ʱ��<br />
	    �ع�ģʽ<br />
	    ���ģʽ<br />
	    ISO<br />
	    �y��<br />
	    ���<br />
	    ����
    </td>
    <td width="15"></td>
    <td align="left" width="250">
    	<span id="lblExifDate">n/a</span><br />
    	<span id="lblExifCamera">n/a</span><br />
    	<span id="lblExifLens">n/a</span><br />
    	<span id="lblExifFocal">n/a</span><br />
    	<span id="lblExifAperture">n/a</span><br />
    	<span id="lblExifShutter">n/a</span><br />
    	<span id="lblExifShooting">n/a</span><br />
    	<span id="lblExifMetering">n/a</span><br />
    	<span id="lblExifIso">n/a</span><br />
    	<span id="lblExifFlash">n/a</span><br />
    	<span id="lblExifSoftware">n/a</span><br />
    	<span id="lblExifCrop">n/a</span><br />
    </td></tr></tbody></table>-->
    
    </div>
    
<div class="externalcommentposted">
    <span id="lblTags">Tags: <?php get_post_tags();?> </span>
<br/><br/>
</div>

<span id="lblComment">

	<!-- // loop start -->
	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>	
    <a name="comment-15"></a>
    <b>comment by</b> <a target="_blank" href="<?php the_comment_author_url(); ?>"><?php the_comment_author(); ?></a> at <?php the_comment_date(); ?> <div class="externalcommentposted"><p><?php the_comment_content(); ?></p></div>

	<?php endwhile;?>
	<?php endif; ?>
    
</span>
	


	

<form method="post" name="comm" action="<?php echo(comments_permalink(comment_post_id())); ?>">
<div class="namebox">

    <div id="pnlAddComment">
your comment<br/>
<textarea name="comm_content" rows="2" cols="20" id="comm_content" class="textarea" style="height:93px;width:457px;"></textarea><br /><br />
<p class="formfield">
    <input name="comm_name" type="text" maxlength="50" id="comm_name" class="formfield2" value="<?php get_cookie_name(); ?>"/> (name)</p>
<p class="formfield">
    <input name="comm_e_mail" type="text" maxlength="50" id="comm_e_mail" class="formfield2" value="<?php get_cookie_mail(); ?>"/> (email: not visible to others)</p>
<p class="formfield">
    <input name="comm_website" type="text" value="http://" maxlength="100" id="comm_website" class="formfield2" value="<?php get_cookie_www();?>"/> (url)</p>

    <span><input type="submit" name="button" value="post it" id="button" style="FONT-WEIGHT: bold" /></span>
    
</div>
    <span id="lblMsg"><?php echo($error_message); ?></span>
<br/><br/>
</div>
</form>
</div>

</div>
</body>
</html>